<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: /bb/mbigc/mbig5696/git/quantum_external/src/quantum_heap_allocator.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d1/d99/quantum__heap__allocator_8h_source.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">quantum_heap_allocator.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">** Copyright 2018 Bloomberg Finance L.P.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">** Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">** you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">** You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">**     http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">** Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">** distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">** See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">** limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#ifndef BLOOMBERG_QUANTUM_HEAP_ALLOCATOR_H</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#define BLOOMBERG_QUANTUM_HEAP_ALLOCATOR_H</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;quantum/quantum_contiguous_pool_manager.h&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span><a class="code" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a> {</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span>quantum {</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">//==============================================================================</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//                            struct HeapAllocator</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">//==============================================================================</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"></span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">   33</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a> : <span class="keyword">public</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">ContiguousPoolManager</a>&lt;T&gt;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="comment">//------------------------------ Typedefs ----------------------------------</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a851582f78924f5b9ff30f3c42e86539f">   36</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator&lt;T&gt;</a>        <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a851582f78924f5b9ff30f3c42e86539f">this_type</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2ade8826523d81fc0104ac8148a2c903">   37</a></span>&#160;    <span class="keyword">typedef</span> T                       <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2ade8826523d81fc0104ac8148a2c903">value_type</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a34e0975aa00af1955e8d80447d7f56d6">   38</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">value_type</a>*             <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a34e0975aa00af1955e8d80447d7f56d6">pointer</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a6be3b0cf3f8c40cd5359beb1aa0fb47a">   39</a></span>&#160;    <span class="keyword">typedef</span> <span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">value_type</a>*       <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a6be3b0cf3f8c40cd5359beb1aa0fb47a">const_pointer</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a11a67dd5e0900ec93101e923a260bf08">   40</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">value_type</a>&amp;             <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a11a67dd5e0900ec93101e923a260bf08">reference</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a8340f1c68784965a5014631ab5951791">   41</a></span>&#160;    <span class="keyword">typedef</span> <span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">value_type</a>&amp;       <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a8340f1c68784965a5014631ab5951791">const_reference</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#af098c5902f9d9ab8a537abd04310b1ef">   42</a></span>&#160;    <span class="keyword">typedef</span> <span class="keywordtype">size_t</span>                  <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#af098c5902f9d9ab8a537abd04310b1ef">size_type</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a941924f1f5eb29065271cd66da0647fe">   43</a></span>&#160;    <span class="keyword">typedef</span> uint16_t                <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a941924f1f5eb29065271cd66da0647fe">index_type</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aea82671228f34322694cc6dd3c0f9902">   44</a></span>&#160;    <span class="keyword">typedef</span> std::ptrdiff_t          <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aea82671228f34322694cc6dd3c0f9902">difference_type</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ac609935f471d0aa454ccb8f8e42a352c">   45</a></span>&#160;    <span class="keyword">typedef</span> std::true_type          <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ac609935f471d0aa454ccb8f8e42a352c">propagate_on_container_move_assignment</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a31210303c3451dfa56cd99da49041597">   46</a></span>&#160;    <span class="keyword">typedef</span> std::false_type         <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a31210303c3451dfa56cd99da49041597">propagate_on_container_copy_assignment</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a81d6baacda564ec462154c99e9911ad4">   47</a></span>&#160;    <span class="keyword">typedef</span> std::true_type          <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a81d6baacda564ec462154c99e9911ad4">propagate_on_container_swap</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aac31bc826ed83ae428501594652d309b">   48</a></span>&#160;    <span class="keyword">typedef</span> std::true_type          <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aac31bc826ed83ae428501594652d309b">is_always_equal</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7d47e6cc2651effd996856f5de0aa0d5">   49</a></span>&#160;    <span class="keyword">typedef</span> std::false_type         <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7d47e6cc2651effd996856f5de0aa0d5">default_constructor</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">typedef</span> std::aligned_storage&lt;<span class="keyword">sizeof</span>(<a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2ade8826523d81fc0104ac8148a2c903">value_type</a>),</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a119ec42d6afe7de91bfed27a5c5af6f6">   51</a></span>&#160;                                 <span class="keyword">alignof</span>(<a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">value_type</a>)&gt; <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a119ec42d6afe7de91bfed27a5c5af6f6">storage_type</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab65b020b7ebfc51f896d63f4eea12388">   52</a></span>&#160;    <span class="keyword">typedef</span> <span class="keyword">typename</span> storage_type::type <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab65b020b7ebfc51f896d63f4eea12388">aligned_type</a>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    </div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html">   55</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html">rebind</a></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    {</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html#a146dbb216a2990cad50ee8bb5a5c3636">   57</a></span>&#160;        <span class="keyword">typedef</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator&lt;U&gt;</a> <a class="code" href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html#a146dbb216a2990cad50ee8bb5a5c3636">other</a>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    };</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="comment">//------------------------------- Methods ----------------------------------</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2de28a682c771e256543bea251336328">   60</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2de28a682c771e256543bea251336328">HeapAllocator</a>(<a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#a7e8f7392f749b6c449b29ec9c41ffe93">index_type</a> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>) :</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        _size(<a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>),</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        _buffer(new <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab65b020b7ebfc51f896d63f4eea12388">aligned_type</a>[<a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>])</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordflow">if</span> (!_buffer) {</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            <span class="keywordflow">throw</span> std::bad_alloc();</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        }</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        this-&gt;<a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#a0f5acf44ccc4c2ea07fd98b0d7f5fb6f">setBuffer</a>(_buffer, _size);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    }</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a134b67fcfe3bc5ba988357e7b547711a">   69</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a134b67fcfe3bc5ba988357e7b547711a">HeapAllocator</a>(<span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp; other) :</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>(other._size)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    {}</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a3395f9c1f6a3bbe0f12740911ed6a36c">   72</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a3395f9c1f6a3bbe0f12740911ed6a36c">HeapAllocator</a>(<a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp;&amp; other)</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    {</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        *<span class="keyword">this</span> = std::move(other);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a92bd7d9cc9f604f670a0f29d6f1aba8d">   76</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>&amp; <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a92bd7d9cc9f604f670a0f29d6f1aba8d">operator=</a>(<span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp;)</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {}</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4f7975bdb2301b6f94f4a9bc7e436e8d">   78</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>&amp; <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4f7975bdb2301b6f94f4a9bc7e436e8d">operator=</a>(<a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp;&amp; other)</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    {</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="keyword">static_cast&lt;</span><a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">ContiguousPoolManager&lt;T&gt;</a><span class="keyword">&gt;</span>(*this) = <span class="keyword">static_cast&lt;</span><a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">ContiguousPoolManager&lt;T&gt;</a>&amp;&amp;<span class="keyword">&gt;</span>(other);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        _size = other._size;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        _buffer = other._buffer;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        other._size = 0;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        other._buffer = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4c22a8c50d26f799f560dac507cab6fb">   86</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4c22a8c50d26f799f560dac507cab6fb">~HeapAllocator</a>() {</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keyword">delete</span>[] _buffer;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    }</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aff5b4e63e763abd341308c9201a2aca6">   89</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aff5b4e63e763abd341308c9201a2aca6">select_on_container_copy_construction</a>(<span class="keyword">const</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>&amp; other) {</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2de28a682c771e256543bea251336328">HeapAllocator</a>(other.<a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>());</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ae2d4a589c1e82b4b3014f188a4be090b">   93</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ae2d4a589c1e82b4b3014f188a4be090b">HeapAllocator</a>(<span class="keyword">const</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator&lt;U&gt;</a>&amp; other) : <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>(other.<a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>())</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    {}</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#add32045e2bbd90650131d61c19e66ce5">   96</a></span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator</a>&amp; <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#add32045e2bbd90650131d61c19e66ce5">operator=</a>(<span class="keyword">const</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">HeapAllocator&lt;U&gt;</a>&amp;)</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    {}</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a89965506c4d7f69879fb643b773e05ee">   98</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a89965506c4d7f69879fb643b773e05ee">operator==</a>(<span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp;)<span class="keyword"> const </span>{</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab9c993f6cebc5139c98fdb5c5e4bf756">  101</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab9c993f6cebc5139c98fdb5c5e4bf756">operator!=</a>(<span class="keyword">const</span> <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">this_type</a>&amp;)<span class="keyword"> const </span>{</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">  104</a></span>&#160;    <a class="code" href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#a7e8f7392f749b6c449b29ec9c41ffe93">index_type</a> <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _size; }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    </div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="comment">//------------------------------- Members ----------------------------------</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a941924f1f5eb29065271cd66da0647fe">index_type</a>      _size;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <a class="code" href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab65b020b7ebfc51f896d63f4eea12388">aligned_type</a>*   _buffer;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;};</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;}} <span class="comment">//namespaces</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#endif //BLOOMBERG_QUANTUM_HEAP_ALLOCATOR_H</span></div><div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a34e0975aa00af1955e8d80447d7f56d6"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a34e0975aa00af1955e8d80447d7f56d6">Bloomberg::quantum::HeapAllocator::pointer</a></div><div class="ttdeci">value_type * pointer</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:38</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ContiguousPoolManager_html_a7e8f7392f749b6c449b29ec9c41ffe93"><div class="ttname"><a href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#a7e8f7392f749b6c449b29ec9c41ffe93">Bloomberg::quantum::ContiguousPoolManager::index_type</a></div><div class="ttdeci">uint16_t index_type</div><div class="ttdef"><b>Definition:</b> quantum_contiguous_pool_manager.h:50</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ContiguousPoolManager_html"><div class="ttname"><a href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html">Bloomberg::quantum::ContiguousPoolManager</a></div><div class="ttdoc">Provides fast (quasi zero-time) in-place allocation for STL containers. Objects are allocated from a ...</div><div class="ttdef"><b>Definition:</b> quantum_contiguous_pool_manager.h:40</div></div>
<div class="ttc" id="namespaceBloomberg_html"><div class="ttname"><a href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></div><div class="ttdef"><b>Definition:</b> quantum_buffer_impl.h:22</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a11a67dd5e0900ec93101e923a260bf08"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a11a67dd5e0900ec93101e923a260bf08">Bloomberg::quantum::HeapAllocator::reference</a></div><div class="ttdeci">value_type &amp; reference</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:40</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a7d47e6cc2651effd996856f5de0aa0d5"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7d47e6cc2651effd996856f5de0aa0d5">Bloomberg::quantum::HeapAllocator::default_constructor</a></div><div class="ttdeci">std::false_type default_constructor</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:49</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_af098c5902f9d9ab8a537abd04310b1ef"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#af098c5902f9d9ab8a537abd04310b1ef">Bloomberg::quantum::HeapAllocator::size_type</a></div><div class="ttdeci">size_t size_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:42</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_ae2d4a589c1e82b4b3014f188a4be090b"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ae2d4a589c1e82b4b3014f188a4be090b">Bloomberg::quantum::HeapAllocator::HeapAllocator</a></div><div class="ttdeci">HeapAllocator(const HeapAllocator&lt; U &gt; &amp;other)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:93</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a31210303c3451dfa56cd99da49041597"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a31210303c3451dfa56cd99da49041597">Bloomberg::quantum::HeapAllocator::propagate_on_container_copy_assignment</a></div><div class="ttdeci">std::false_type propagate_on_container_copy_assignment</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:46</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a3395f9c1f6a3bbe0f12740911ed6a36c"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a3395f9c1f6a3bbe0f12740911ed6a36c">Bloomberg::quantum::HeapAllocator::HeapAllocator</a></div><div class="ttdeci">HeapAllocator(this_type &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:72</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a2de28a682c771e256543bea251336328"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2de28a682c771e256543bea251336328">Bloomberg::quantum::HeapAllocator::HeapAllocator</a></div><div class="ttdeci">HeapAllocator(index_type size)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:60</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_ab9c993f6cebc5139c98fdb5c5e4bf756"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab9c993f6cebc5139c98fdb5c5e4bf756">Bloomberg::quantum::HeapAllocator::operator!=</a></div><div class="ttdeci">bool operator!=(const this_type &amp;) const</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:101</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a7867900b1764dc00d6e6cfc0f3511bb1"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a7867900b1764dc00d6e6cfc0f3511bb1">Bloomberg::quantum::HeapAllocator::size</a></div><div class="ttdeci">index_type size() const</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:104</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a119ec42d6afe7de91bfed27a5c5af6f6"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a119ec42d6afe7de91bfed27a5c5af6f6">Bloomberg::quantum::HeapAllocator::storage_type</a></div><div class="ttdeci">std::aligned_storage&lt; sizeof(value_type), alignof(value_type)&gt; storage_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:51</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind_html_a146dbb216a2990cad50ee8bb5a5c3636"><div class="ttname"><a href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html#a146dbb216a2990cad50ee8bb5a5c3636">Bloomberg::quantum::HeapAllocator::rebind::other</a></div><div class="ttdeci">HeapAllocator&lt; U &gt; other</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:57</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind_html"><div class="ttname"><a href="../../d1/d00/structBloomberg_1_1quantum_1_1HeapAllocator_1_1rebind.html">Bloomberg::quantum::HeapAllocator::rebind</a></div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:55</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_aea82671228f34322694cc6dd3c0f9902"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aea82671228f34322694cc6dd3c0f9902">Bloomberg::quantum::HeapAllocator::difference_type</a></div><div class="ttdeci">std::ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:44</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a8340f1c68784965a5014631ab5951791"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a8340f1c68784965a5014631ab5951791">Bloomberg::quantum::HeapAllocator::const_reference</a></div><div class="ttdeci">const value_type &amp; const_reference</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:41</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ContiguousPoolManager_html_adada271ce39fa67c3952f0a843aa15e4"><div class="ttname"><a href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#adada271ce39fa67c3952f0a843aa15e4">Bloomberg::quantum::ContiguousPoolManager::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> quantum_contiguous_pool_manager.h:44</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_ac609935f471d0aa454ccb8f8e42a352c"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ac609935f471d0aa454ccb8f8e42a352c">Bloomberg::quantum::HeapAllocator::propagate_on_container_move_assignment</a></div><div class="ttdeci">std::true_type propagate_on_container_move_assignment</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:45</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a2ade8826523d81fc0104ac8148a2c903"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a2ade8826523d81fc0104ac8148a2c903">Bloomberg::quantum::HeapAllocator::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:37</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ContiguousPoolManager_html_a0f5acf44ccc4c2ea07fd98b0d7f5fb6f"><div class="ttname"><a href="../../d7/dd7/structBloomberg_1_1quantum_1_1ContiguousPoolManager.html#a0f5acf44ccc4c2ea07fd98b0d7f5fb6f">Bloomberg::quantum::ContiguousPoolManager::setBuffer</a></div><div class="ttdeci">void setBuffer(aligned_type *buffer, index_type size)</div><div class="ttdef"><b>Definition:</b> quantum_contiguous_pool_manager_impl.h:68</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a92bd7d9cc9f604f670a0f29d6f1aba8d"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a92bd7d9cc9f604f670a0f29d6f1aba8d">Bloomberg::quantum::HeapAllocator::operator=</a></div><div class="ttdeci">HeapAllocator &amp; operator=(const this_type &amp;)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:76</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_add32045e2bbd90650131d61c19e66ce5"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#add32045e2bbd90650131d61c19e66ce5">Bloomberg::quantum::HeapAllocator::operator=</a></div><div class="ttdeci">HeapAllocator &amp; operator=(const HeapAllocator&lt; U &gt; &amp;)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:96</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a89965506c4d7f69879fb643b773e05ee"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a89965506c4d7f69879fb643b773e05ee">Bloomberg::quantum::HeapAllocator::operator==</a></div><div class="ttdeci">bool operator==(const this_type &amp;) const</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:98</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a4c22a8c50d26f799f560dac507cab6fb"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4c22a8c50d26f799f560dac507cab6fb">Bloomberg::quantum::HeapAllocator::~HeapAllocator</a></div><div class="ttdeci">~HeapAllocator()</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:86</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_aff5b4e63e763abd341308c9201a2aca6"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aff5b4e63e763abd341308c9201a2aca6">Bloomberg::quantum::HeapAllocator::select_on_container_copy_construction</a></div><div class="ttdeci">static HeapAllocator select_on_container_copy_construction(const HeapAllocator &amp;other)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:89</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html">Bloomberg::quantum::HeapAllocator</a></div><div class="ttdoc">Provides a heap-based object pool to the underlying ContiguousPoolManager. The default buffer size is...</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:33</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a941924f1f5eb29065271cd66da0647fe"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a941924f1f5eb29065271cd66da0647fe">Bloomberg::quantum::HeapAllocator::index_type</a></div><div class="ttdeci">uint16_t index_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:43</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_ab65b020b7ebfc51f896d63f4eea12388"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#ab65b020b7ebfc51f896d63f4eea12388">Bloomberg::quantum::HeapAllocator::aligned_type</a></div><div class="ttdeci">storage_type::type aligned_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:52</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a4f7975bdb2301b6f94f4a9bc7e436e8d"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a4f7975bdb2301b6f94f4a9bc7e436e8d">Bloomberg::quantum::HeapAllocator::operator=</a></div><div class="ttdeci">HeapAllocator &amp; operator=(this_type &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:78</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a6be3b0cf3f8c40cd5359beb1aa0fb47a"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a6be3b0cf3f8c40cd5359beb1aa0fb47a">Bloomberg::quantum::HeapAllocator::const_pointer</a></div><div class="ttdeci">const value_type * const_pointer</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:39</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a81d6baacda564ec462154c99e9911ad4"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a81d6baacda564ec462154c99e9911ad4">Bloomberg::quantum::HeapAllocator::propagate_on_container_swap</a></div><div class="ttdeci">std::true_type propagate_on_container_swap</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:47</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a134b67fcfe3bc5ba988357e7b547711a"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a134b67fcfe3bc5ba988357e7b547711a">Bloomberg::quantum::HeapAllocator::HeapAllocator</a></div><div class="ttdeci">HeapAllocator(const this_type &amp;other)</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:69</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_a851582f78924f5b9ff30f3c42e86539f"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#a851582f78924f5b9ff30f3c42e86539f">Bloomberg::quantum::HeapAllocator::this_type</a></div><div class="ttdeci">HeapAllocator&lt; T &gt; this_type</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:36</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1HeapAllocator_html_aac31bc826ed83ae428501594652d309b"><div class="ttname"><a href="../../d2/da6/structBloomberg_1_1quantum_1_1HeapAllocator.html#aac31bc826ed83ae428501594652d309b">Bloomberg::quantum::HeapAllocator::is_always_equal</a></div><div class="ttdeci">std::true_type is_always_equal</div><div class="ttdef"><b>Definition:</b> quantum_heap_allocator.h:48</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>quantum_heap_allocator.h</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
